#ifndef ASFINGER_PBRPC_CORE_AFPB_CODE_GENERATOR_H_
#define ASFINGER_PBRPC_CORE_AFPB_CODE_GENERATOR_H_

#include <google/protobuf/compiler/code_generator.h>

#include <string>

namespace pb  = ::google::protobuf;
namespace pbc = pb::compiler;

class AfpbCodeGenerator : public pbc::CodeGenerator {
 public:
  bool Generate(const pb::FileDescriptor *file,
                const std::string &parameter,
                pbc::GeneratorContext *generator_context,
                std::string *error) const override;
};

#endif // ASFINGER_PBRPC_CORE_AFPB_CODE_GENERATOR_H_